home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
COMM
/
SCR104A.ARJ
/
MAKE.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1992-01-28
|
1KB
|
55 lines
OpenBox 3 0 0 79 24 "- Scripta Automatic Script Generator_
- leave packet name blank to quit "
%which := "Z"
%dummy := " "
%packet := ""
While $eq(%which,"Z")
RowCol 2 2
Message "What is the QWK packet name to be used in the generated script? "
Input %packet 8 8
If $len(%packet) = 0
%which := "X"
Else
$caps %packet
%fname := "%packet..CFG"
%tester := fopen %fname
If %NoError
%tester := fread/1 %which
%tester := fclose
Else
OpenBox 1 12 8 70 10 "- Press Esc to quit "
%i := %maxint
While %i = %maxint
RowCol 1 2
Message " (Q)mail, (T)omcat, Tomcat(2), (R)AMail or M(K)Qwk? "
GetKey %which %dummy
$caps %which
$chpos %i "QT2R#27" %which
EndWhile
CloseBox 1
EndIf
EndIf
Case "%which"
CaseOf "Q"
Script MakeQM4.CM0
%which := "Z"
CaseOf "T"
Script MakeTC3.CM0
%which := "Z"
CaseOf "2"
Script MakeTC2.CM0
%which := "Z"
CaseOf "R"
Script MakeRAM.CM0
%which := "Z"
CaseOf "K"
Script MakeRAMK.CM0
%which := "Z"
CaseOf "#27"
%which := "Z"
CaseOf Other
%which := "X"
EndCase
EndWhile
CloseBox 3